projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6fac61
)
(safe_bcopy): Source pointer now points to const.
author
Ken Raeburn
<raeburn@raeburn.org>
Fri, 19 Jul 2002 14:27:09 +0000
(14:27 +0000)
committer
Ken Raeburn
<raeburn@raeburn.org>
Fri, 19 Jul 2002 14:27:09 +0000
(14:27 +0000)
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index 1467fd6eba7fa5f7d165b011ed52ffa517f34a0c..1d9ae986a374ce7523cb7df2de37de08adc95d91 100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-440,7
+440,8
@@
DEFUN ("dump-redisplay-history", Fdump_redisplay_history,
void
safe_bcopy (from, to, size)
- char *from, *to;
+ const char *from;
+ char *to;
int size;
{
if (size <= 0 || from == to)
@@
-455,7
+456,7
@@
safe_bcopy (from, to, size)
/* Otherwise, we'll copy from the end. */
else
{
- register char *endf = from + size;
+ register c
onst c
har *endf = from + size;
register char *endt = to + size;
/* If TO - FROM is large, then we should break the copy into